<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: include/spi_register.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">spi_register.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="spi__register_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//Generated at 2014-07-29 11:03:29</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *  Copyright (c) 2010 - 2011 Espressif System</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#ifndef SPI_REGISTER_H_INCLUDED</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#define SPI_REGISTER_H_INCLUDED</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aaf972dc81d21a811a370f55ca66917ea">   10</a></span>&#160;<span class="preprocessor">#define REG_SPI_BASE(i)  (0x60000200-i*0x100)</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="spi__register_8h.html#af102aefcd36fbd7f60de993e4fd401b3">   12</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_CMD(i)                            (REG_SPI_BASE(i)  + 0x0)</span></div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a505d24226b41fdf6af6ddf62a7efa837">   13</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_READ (BIT(31))</span></div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae9d40c58241b7cff0a8976d566260b56">   14</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_WREN (BIT(30))</span></div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ab8b84392e92d0e1c7537cb2c529242e7">   15</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_WRDI (BIT(29))</span></div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a1a50cdb3b562a64ef33793aa8a33f655">   16</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_RDID (BIT(28))</span></div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a4cf06833bf493ebd7261358d1e718358">   17</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_RDSR (BIT(27))</span></div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="spi__register_8h.html#adfc16e6252672a4523899fa4b23f3b44">   18</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_WRSR (BIT(26))</span></div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a47305e371ffa22b68b58df038aa64284">   19</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_PP (BIT(25))</span></div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a598c634a0b6663578dfc82c0239160c4">   20</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_SE (BIT(24))</span></div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a37df0aef8b899e8b7db1e95ba4468438">   21</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_BE (BIT(23))</span></div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a4e2320cde5a0521ce271ae6c868f40e7">   22</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_CE (BIT(22))</span></div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aa617270a93383acb9b583fc3f27f5523">   23</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_DP (BIT(21))</span></div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aeb0c60079880fdd3a415e14dba51a9f0">   24</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_RES (BIT(20))</span></div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a6da9264e5157c051f1a5cb8e312ece27">   25</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_HPM (BIT(19))</span></div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a0c028b3167170432c7b420d3d2ef0625">   26</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_USR (BIT(18))</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a95650e8a2303aef8dbe039fb92fcfb31">   28</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_ADDR(i)                           (REG_SPI_BASE(i)  + 0x4)</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aaab16c3686f6deec4184d3bcc122a923">   30</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_CTRL(i)                           (REG_SPI_BASE(i)  + 0x8)</span></div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a19343b71bdb98235bbed13206fcec2b6">   31</a></span>&#160;<span class="preprocessor">#define SPI_WR_BIT_ODER (BIT(26))</span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="spi__register_8h.html#afd3948094ecdd4a87656ef87e172288f">   32</a></span>&#160;<span class="preprocessor">#define SPI_RD_BIT_ODER (BIT(25))</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a9df8066559769e75eea0b6a4f6b04e4c">   33</a></span>&#160;<span class="preprocessor">#define SPI_QIO_MODE (BIT(24))</span></div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aa43926d23640b53a577733550360cba8">   34</a></span>&#160;<span class="preprocessor">#define SPI_DIO_MODE (BIT(23))</span></div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ab283ae2a301659ac3b8d382a328d065e">   35</a></span>&#160;<span class="preprocessor">#define SPI_TWO_BYTE_STATUS_EN (BIT(22))</span></div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae2e9196913362490499bc8d642fd4da1">   36</a></span>&#160;<span class="preprocessor">#define SPI_WP_REG (BIT(21))</span></div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a08804ee96d94b899231ff30b83bf6c59">   37</a></span>&#160;<span class="preprocessor">#define SPI_QOUT_MODE (BIT(20))</span></div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a63192095036f45b0106c66b9d66125bf">   38</a></span>&#160;<span class="preprocessor">#define SPI_SHARE_BUS (BIT(19))</span></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a602e01a1636d6e4f34e6d189f4e9d2d5">   39</a></span>&#160;<span class="preprocessor">#define SPI_HOLD_MODE (BIT(18))</span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a05213214955626e5fc192b9bb81aa850">   40</a></span>&#160;<span class="preprocessor">#define SPI_ENABLE_AHB (BIT(17))</span></div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a0b711d9f80831c6e40a871c58a6a105a">   41</a></span>&#160;<span class="preprocessor">#define SPI_SST_AAI (BIT(16))</span></div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a8a7f5cb5e6b1db8f30eae267940f2dab">   42</a></span>&#160;<span class="preprocessor">#define SPI_RESANDRES (BIT(15))</span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a75ab0269691da1cc378ae2e2f47abff3">   43</a></span>&#160;<span class="preprocessor">#define SPI_DOUT_MODE (BIT(14))</span></div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a3e6f02235127f4e30046e050c99d9af2">   44</a></span>&#160;<span class="preprocessor">#define SPI_FASTRD_MODE (BIT(13))</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a48e134b7c110b6cbfee9788f2a814721">   46</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_CTRL1(i)                          (REG_SPI_BASE (i) + 0xC)</span></div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a592d3b545bc38dcaf0ff710bd3c9e4d6">   47</a></span>&#160;<span class="preprocessor">#define SPI_T_CSH 0x0000000F</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aafaa5efc715fd7d0dbd878bc0f8aa0f3">   48</a></span>&#160;<span class="preprocessor">#define SPI_T_CSH_S 28</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a77499d9ed25a36022beb322d919b5ead">   49</a></span>&#160;<span class="preprocessor">#define SPI_T_RES 0x00000FFF</span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aa1dd9f14953c56e7682bd77001eb5aa9">   50</a></span>&#160;<span class="preprocessor">#define SPI_T_RES_S 16</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a2624c0dc81b4adaaec1fea9e4b54cff2">   51</a></span>&#160;<span class="preprocessor">#define SPI_BUS_TIMER_LIMIT 0x0000FFFF</span></div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ac104efe471980a2208eb1cc62f74e8d9">   52</a></span>&#160;<span class="preprocessor">#define SPI_BUS_TIMER_LIMIT_S 0</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a42f39f5d1a510727a96a7060463e0aa0">   54</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_STATUS(i)                         (REG_SPI_BASE(i)  + 0x10)</span></div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a03c21ed3eda50cc47cdbdd5b4aa25987">   55</a></span>&#160;<span class="preprocessor">#define SPI_STATUS_EXT 0x000000FF</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aa9be418d83542c130c1fcb4361edffe9">   56</a></span>&#160;<span class="preprocessor">#define SPI_STATUS_EXT_S 24</span></div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a558abbe6c4185f33c44c8d443df95e0d">   57</a></span>&#160;<span class="preprocessor">#define SPI_WB_MODE 0x000000FF</span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a228a3d9fe06745156b57bfb3d3b864b5">   58</a></span>&#160;<span class="preprocessor">#define SPI_WB_MODE_S 16</span></div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aa7160003113c263811e7a3e3a8b4784c">   59</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_STATUS_PRO_FLAG (BIT(7))</span></div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a185e7ef0510308089a25dc982f8e7deb">   60</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_TOP_BOT_PRO_FLAG (BIT(5))</span></div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a740e6ba2459b684b98e34976afcd1f9e">   61</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_BP2 (BIT(4))</span></div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a0e62215bf03bee020587275c58d70bde">   62</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_BP1 (BIT(3))</span></div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a92d32f3d9014fbe6d6848d90f912516a">   63</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_BP0 (BIT(2))</span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a8a11329ec8eae3594e3a118965c9782d">   64</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_WRENABLE_FLAG (BIT(1))</span></div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a7cede4c6a020179d49f46981d520d5d4">   65</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_BUSY_FLAG (BIT(0))</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a08f53d77176934d01ff8bb30c09c3eb1">   67</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_CTRL2(i)                          (REG_SPI_BASE(i)  + 0x14)</span></div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ac90def60c4b7ff08a640202ea18f6f67">   68</a></span>&#160;<span class="preprocessor">#define SPI_CS_DELAY_NUM 0x0000000F</span></div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ac57076f652e067b73027625d6abfbd5e">   69</a></span>&#160;<span class="preprocessor">#define SPI_CS_DELAY_NUM_S 28</span></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a69fd4130536e5ae650d1dcf2cc00409c">   70</a></span>&#160;<span class="preprocessor">#define SPI_CS_DELAY_MODE 0x00000003</span></div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a5d53a097a0049a9c61487dfd1fbe5211">   71</a></span>&#160;<span class="preprocessor">#define SPI_CS_DELAY_MODE_S 26</span></div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a5c906ec19a4132d22658e179e8bdd192">   72</a></span>&#160;<span class="preprocessor">#define SPI_MOSI_DELAY_NUM 0x00000007</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="spi__register_8h.html#af2fa8566590412e8b8378731d25bffa5">   73</a></span>&#160;<span class="preprocessor">#define SPI_MOSI_DELAY_NUM_S 23</span></div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="spi__register_8h.html#add6d66d9bb25d64b5c06f0c147305bde">   74</a></span>&#160;<span class="preprocessor">#define SPI_MOSI_DELAY_MODE 0x00000003</span></div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a7bc23bac1209a27de8ac6d0aa7766538">   75</a></span>&#160;<span class="preprocessor">#define SPI_MOSI_DELAY_MODE_S 21</span></div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a3a7d694709ade6ff2677052de8627f1e">   76</a></span>&#160;<span class="preprocessor">#define SPI_MISO_DELAY_NUM 0x00000007</span></div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a2c8caba889805fd4878207ca9a0c7c29">   77</a></span>&#160;<span class="preprocessor">#define SPI_MISO_DELAY_NUM_S 18</span></div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aacb718517ee3266f83ad781278f32614">   78</a></span>&#160;<span class="preprocessor">#define SPI_MISO_DELAY_MODE 0x00000003</span></div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aec63c636eb0b8238e423dc51e8e51398">   79</a></span>&#160;<span class="preprocessor">#define SPI_MISO_DELAY_MODE_S 16</span></div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a24ea6e999298451d1394c735cef7f28a">   80</a></span>&#160;<span class="preprocessor">#define SPI_CK_OUT_HIGH_MODE 0x0000000F</span></div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ad65071e838bf33c7bf36275daad796db">   81</a></span>&#160;<span class="preprocessor">#define SPI_CK_OUT_HIGH_MODE_S 12</span></div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a399f73f1af1dda65d539632f032ff931">   82</a></span>&#160;<span class="preprocessor">#define SPI_CK_OUT_LOW_MODE 0x0000000F</span></div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a4597aed7ff0c47a034bd572171b5147a">   83</a></span>&#160;<span class="preprocessor">#define SPI_CK_OUT_LOW_MODE_S 8</span></div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ac2e0c8c1be7f36857c00b69d05ba40ff">   84</a></span>&#160;<span class="preprocessor">#define SPI_HOLD_TIME 0x0000000F</span></div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a50c3060feab2205b66bcaece0f9bb497">   85</a></span>&#160;<span class="preprocessor">#define SPI_HOLD_TIME_S 4</span></div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a70bc9da4b010d5495740e61ebc348b7d">   86</a></span>&#160;<span class="preprocessor">#define SPI_SETUP_TIME 0x0000000F</span></div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="spi__register_8h.html#af366b58c6de3168482ffd7efb3e23dd5">   87</a></span>&#160;<span class="preprocessor">#define SPI_SETUP_TIME_S 0</span></div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ac193cd0f592914f5c5632b7f81dcf9d1">   89</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_CLOCK(i)                          (REG_SPI_BASE(i)  + 0x18)</span></div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a865aaa3ee4735c6139acdc8a54eca1f2">   90</a></span>&#160;<span class="preprocessor">#define SPI_CLK_EQU_SYSCLK (BIT(31))</span></div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a1b0366fbace7cbdafb476ef11377b4e6">   91</a></span>&#160;<span class="preprocessor">#define SPI_CLKDIV_PRE 0x00001FFF</span></div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae39144a54ce07c1cf860f366b6235cee">   92</a></span>&#160;<span class="preprocessor">#define SPI_CLKDIV_PRE_S 18</span></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ad0a99a332976f6b98318941f76d706a0">   93</a></span>&#160;<span class="preprocessor">#define SPI_CLKCNT_N 0x0000003F</span></div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a3c3adde4c17e0cb25d458987a20d86b4">   94</a></span>&#160;<span class="preprocessor">#define SPI_CLKCNT_N_S 12</span></div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aa9feb30cc658107619ff5876aeee0940">   95</a></span>&#160;<span class="preprocessor">#define SPI_CLKCNT_H 0x0000003F</span></div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae57220219a50225bbb53f59bdfdc52c8">   96</a></span>&#160;<span class="preprocessor">#define SPI_CLKCNT_H_S 6</span></div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a1b14c94f56fad6e9c1f32a64f862e6ac">   97</a></span>&#160;<span class="preprocessor">#define SPI_CLKCNT_L 0x0000003F</span></div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a1edd73a3e0f94a6edb37e6423a2a91d6">   98</a></span>&#160;<span class="preprocessor">#define SPI_CLKCNT_L_S 0</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a07e49dccefac8a1009ecbfa96e3758eb">  100</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_USER(i)                           (REG_SPI_BASE(i)  + 0x1C)</span></div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a7987e30a7f5c000e07d928934aad4d2f">  101</a></span>&#160;<span class="preprocessor">#define SPI_USR_COMMAND (BIT(31))</span></div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a98938b083f6a99fd4d2e96f078e17033">  102</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_USR_ADDR (BIT(30))</span></div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a2c8f31b46808b96ef692b544cf878a49">  103</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_USR_DUMMY (BIT(29))</span></div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="spi__register_8h.html#adbcb0533efc0f9176dee56871fc61213">  104</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_USR_DIN (BIT(28))</span></div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a78727df9e0fe66463f3dbc6b4a0747cd">  105</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_DOUT (BIT(27))</span></div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="spi__register_8h.html#af9f716f5b7e1c99132de1264848bdaf1">  106</a></span>&#160;<span class="preprocessor">#define SPI_USR_DUMMY_IDLE (BIT(26))</span></div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a8e8bbf5ed36ee9bc5625c78cc03d2452">  107</a></span>&#160;<span class="preprocessor">#define SPI_USR_DOUT_HIGHPART (BIT(25))</span></div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aa27a5683d6f71332624562019c559ffe">  108</a></span>&#160;<span class="preprocessor">#define SPI_USR_DIN_HIGHPART (BIT(24))</span></div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a7e8ecc6d812a354518b02c679c8ced99">  109</a></span>&#160;<span class="preprocessor">#define SPI_USR_PREP_HOLD (BIT(23))</span></div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a5560f70b29d2d20363cde3721c61416f">  110</a></span>&#160;<span class="preprocessor">#define SPI_USR_CMD_HOLD (BIT(22))</span></div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a24e6fc16245af66f5f4134f2513eff74">  111</a></span>&#160;<span class="preprocessor">#define SPI_USR_ADDR_HOLD (BIT(21))</span></div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aafbafc3abe97fc1fc5f68edf3d7ea579">  112</a></span>&#160;<span class="preprocessor">#define SPI_USR_DUMMY_HOLD (BIT(20))</span></div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a6c72fd426dad206588b2c3570ba4cd4c">  113</a></span>&#160;<span class="preprocessor">#define SPI_USR_DIN_HOLD (BIT(19))</span></div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a69155fb11e398217ffe41048cf949399">  114</a></span>&#160;<span class="preprocessor">#define SPI_USR_DOUT_HOLD (BIT(18))</span></div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a0e3390cab11bc70fbacbf37eef44f151">  115</a></span>&#160;<span class="preprocessor">#define SPI_USR_HOLD_POL (BIT(17))</span></div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a1fbeb06c5c0e2e1f8a2804af1853c9cd">  116</a></span>&#160;<span class="preprocessor">#define SPI_SIO (BIT(16))</span></div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a1169b73a8716acf3b0e9babc82e0a26d">  117</a></span>&#160;<span class="preprocessor">#define SPI_FWRITE_QIO (BIT(15))</span></div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a8a4dbd17d6287690df8064800d75c723">  118</a></span>&#160;<span class="preprocessor">#define SPI_FWRITE_DIO (BIT(14))</span></div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a101f0590d15d4ad6d1624f2d8db724ae">  119</a></span>&#160;<span class="preprocessor">#define SPI_FWRITE_QUAD (BIT(13))</span></div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a90671a2f504f3d116db5bd47ea01edeb">  120</a></span>&#160;<span class="preprocessor">#define SPI_FWRITE_DUAL (BIT(12))</span></div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a2b6e3e187afb9d15a3b2805593e93a0a">  121</a></span>&#160;<span class="preprocessor">#define SPI_WR_BYTE_ORDER (BIT(11))</span></div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a2da2858dc365a23d181d2c4f5efd2ceb">  122</a></span>&#160;<span class="preprocessor">#define SPI_RD_BYTE_ORDER (BIT(10))</span></div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae47f66f8425bd8a5ce8ead1ccd1c5e8a">  123</a></span>&#160;<span class="preprocessor">#define SPI_AHB_ENDIAN_MODE 0x00000003</span></div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a57811b5a1e579aaa59f300fd36d5da0e">  124</a></span>&#160;<span class="preprocessor">#define SPI_AHB_ENDIAN_MODE_S 8</span></div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a188998ed07d332842ca8a9e88c9d8b29">  125</a></span>&#160;<span class="preprocessor">#define SPI_CK_OUT_EDGE (BIT(7))</span></div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a9ae4e54e59288db516a5959c19116c87">  126</a></span>&#160;<span class="preprocessor">#define SPI_CK_I_EDGE (BIT(6))</span></div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae9c3daf9e8e70bec7914dd99e442dc9e">  127</a></span>&#160;<span class="preprocessor">#define SPI_CS_SETUP (BIT(5))</span></div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ac78fc273ad29b1d6a5f21a2b4106e245">  128</a></span>&#160;<span class="preprocessor">#define SPI_CS_HOLD (BIT(4))</span></div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ac4c08f79a7b0e3e41110be124f315382">  129</a></span>&#160;<span class="preprocessor">#define SPI_AHB_USR_COMMAND (BIT(3))</span></div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae896c0dc15f963f1e3ff2d1783bdb5dc">  130</a></span>&#160;<span class="preprocessor">#define SPI_AHB_USR_COMMAND_4BYTE (BIT(1))</span></div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a4ce55c15793ed51792c2cfe24eae4227">  131</a></span>&#160;<span class="preprocessor">#define SPI_DOUTDIN (BIT(0))</span></div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a41fe427479b2f4e5b97549034e9d6425">  133</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_USER1(i)                          (REG_SPI_BASE(i) + 0x20)</span></div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a7d255a1c047655e981504eeea75095a7">  134</a></span>&#160;<span class="preprocessor">#define SPI_USR_ADDR_BITLEN 0x0000003F</span></div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="spi__register_8h.html#afdb5ad66ab391527ae19f7e3c7b4d5d7">  135</a></span>&#160;<span class="preprocessor">#define SPI_USR_ADDR_BITLEN_S 26</span></div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a2a52c366cf9b24b19233cdaffbbce4a4">  136</a></span>&#160;<span class="preprocessor">#define SPI_USR_OUT_BITLEN 0x000001FF</span></div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a64c25e5ab9c68bbd6f4714556eb5e330">  137</a></span>&#160;<span class="preprocessor">#define SPI_USR_OUT_BITLEN_S 17</span></div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a18df12172ff907fe172200447d5fad9c">  138</a></span>&#160;<span class="preprocessor">#define SPI_USR_DIN_BITLEN 0x000001FF</span></div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a3ad62dc9ccd056ca416114564ff1e0b2">  139</a></span>&#160;<span class="preprocessor">#define SPI_USR_DIN_BITLEN_S 8</span></div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a8d8da126502c8fa5177d4eaff414de5f">  140</a></span>&#160;<span class="preprocessor">#define SPI_USR_DUMMY_CYCLELEN 0x000000FF</span></div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aba37e788cfac5c1016c58049f14d4ab7">  141</a></span>&#160;<span class="preprocessor">#define SPI_USR_DUMMY_CYCLELEN_S 0</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a498797d6660595c9aa8cf4c25fdafbfe">  143</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_USER2(i)                          (REG_SPI_BASE(i)  + 0x24)</span></div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a3194829ea7b7d110b8a6e7736c5bc0cd">  144</a></span>&#160;<span class="preprocessor">#define SPI_USR_COMMAND_BITLEN 0x0000000F</span></div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a3158c8a379210a2026e4a11a808b45ba">  145</a></span>&#160;<span class="preprocessor">#define SPI_USR_COMMAND_BITLEN_S 28</span></div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a3e93bd4c6bc78ae87d78e60c505769e6">  146</a></span>&#160;<span class="preprocessor">#define SPI_USR_COMMAND_VALUE 0x0000FFFF</span></div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a096fd7c03516d658dfaa1d22313f56a1">  147</a></span>&#160;<span class="preprocessor">#define SPI_USR_COMMAND_VALUE_S 0</span></div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="spi__register_8h.html#af74a0d5174066ba92abfcbf7944e13c3">  149</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_USER3(i)                          (REG_SPI_BASE(i)  + 0x28)</span></div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a5fc461f4446d667adc440a80f1472ce7">  150</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_PIN(i)                            (REG_SPI_BASE(i)  + 0x2C)</span></div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a0b7160214f49ffe89e85ff839276dd29">  151</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_SLAVE(i)                          (REG_SPI_BASE(i)  + 0x30)</span></div><div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a401d559b5fe29276e05400fabaada829">  152</a></span>&#160;<span class="preprocessor">#define SPI_SYNC_RESET (BIT(31))</span></div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a6937829c8e8c6b3907faed0da21faa6c">  153</a></span>&#160;<span class="preprocessor">#define SPI_SLAVE_MODE (BIT(30))</span></div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a228e77953453f73e5ff40efaf9814ca3">  154</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WR_RD_BUF_EN (BIT(29))</span></div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a1b4c9e2d88f4dd799caaa498fd438ceb">  155</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WR_RD_STA_EN (BIT(28))</span></div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="spi__register_8h.html#af86aae198df965069210f71a0b8c8a4c">  156</a></span>&#160;<span class="preprocessor">#define SPI_SLV_CMD_DEFINE (BIT(27))</span></div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a8c2152d5f5e800dcfcd082adfdd2e84e">  157</a></span>&#160;<span class="preprocessor">#define SPI_TRANS_CNT 0x0000000F</span></div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="spi__register_8h.html#adc20d5cafdabec081a68745a5d9c356d">  158</a></span>&#160;<span class="preprocessor">#define SPI_TRANS_CNT_S 23</span></div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a06eb45641a9e9cf548bf71ab85b8c9fc">  159</a></span>&#160;<span class="preprocessor">#define SPI_SLV_LAST_STATE 0x00000007</span></div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ad33a09cd9a6b3bf6711b9da98a628d01">  160</a></span>&#160;<span class="preprocessor">#define SPI_SLV_LAST_STATE_S 20</span></div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="spi__register_8h.html#af22a4297e37752b8d6b56c3e97b9db54">  161</a></span>&#160;<span class="preprocessor">#define SPI_SLV_LAST_COMMAND 0x00000007</span></div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a25995380ab47dfbe69725043625eaf0b">  162</a></span>&#160;<span class="preprocessor">#define SPI_SLV_LAST_COMMAND_S 17</span></div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae56ca7c21e426ba97dc9beb89490f11d">  163</a></span>&#160;<span class="preprocessor">#define SPI_CS_I_MODE 0x00000003</span></div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a5daa972c6d80f26aa9713754712d5d22">  164</a></span>&#160;<span class="preprocessor">#define SPI_CS_I_MODE_S 10</span></div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a78fa8c3a22810192f42ff49ccbc663d7">  165</a></span>&#160;<span class="preprocessor">#define SPI_INT_EN 0x0000001F</span></div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ac071555b38f6c8b5467dd9d4a8c06f71">  166</a></span>&#160;<span class="preprocessor">#define SPI_INT_EN_S 5</span></div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a5d0fe48d0b1b451eda6b01ee92535831">  167</a></span>&#160;<span class="preprocessor">#define SPI_TRANS_DONE (BIT(4))</span></div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a04b31a84559f864949852e53b989af79">  168</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WR_STA_DONE (BIT(3))</span></div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a57f367529a4529155d0efa1b5ad94395">  169</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RD_STA_DONE (BIT(2))</span></div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ad1cc36e9c3a4cd09dad8950b45850785">  170</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WR_BUF_DONE (BIT(1))</span></div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae117e005b4200b444b66a38af6a7ed3e">  171</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RD_BUF_DONE (BIT(0))</span></div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a621a3c2b7d1d550fd36a158250b57856">  173</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_SLAVE1(i)                         (REG_SPI_BASE(i)  + 0x34)</span></div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aa7fdbc6b9dea6a8ab13290851adefa2b">  174</a></span>&#160;<span class="preprocessor">#define SPI_SLV_STATUS_BITLEN 0x0000001F</span></div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a211619cad9baeb61e0ef97063f52b20e">  175</a></span>&#160;<span class="preprocessor">#define SPI_SLV_STATUS_BITLEN_S 27</span></div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a55f369f068a1c78482e693a7251d14fc">  176</a></span>&#160;<span class="preprocessor">#define SPI_SLV_STATUS_FAST_EN (BIT(26))</span></div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a8503daedef1dca5d07201ce8c72b75bf">  177</a></span>&#160;<span class="preprocessor">#define SPI_SLV_STATUS_READBACK (BIT(25))</span></div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a1f257cb04faae95db5d3596d5d0075f0">  178</a></span>&#160;<span class="preprocessor">#define SPI_SLV_BUF_BITLEN 0x000001FF</span></div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a465e71fb4770d9b66eb212ea71638e27">  179</a></span>&#160;<span class="preprocessor">#define SPI_SLV_BUF_BITLEN_S 16</span></div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="spi__register_8h.html#adfbeb4af495fd868a43ce5eb756836cf">  180</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RD_ADDR_BITLEN 0x0000003F</span></div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a7f438fc522beead159a9c1bbfbe25351">  181</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RD_ADDR_BITLEN_S 10</span></div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a333e914ee721d9f3fe28918747b14c09">  182</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WR_ADDR_BITLEN 0x0000003F</span></div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aada0400a3d48ff8afdf0693f47cad13d">  183</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WR_ADDR_BITLEN_S 4</span></div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae41732ccae7f855e47104c573dac7d6b">  184</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WRSTA_DUMMY_EN (BIT(3))</span></div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="spi__register_8h.html#add29f6ef46ec9f3a62b84b717bbbe90c">  185</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RDSTA_DUMMY_EN (BIT(2))</span></div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="spi__register_8h.html#adb5abe38b3a35f05911e77b12ce1aa74">  186</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WRBUF_DUMMY_EN (BIT(1))</span></div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a5f54b2818d3885cda1e9a950d9efa75f">  187</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RDBUF_DUMMY_EN (BIT(0))</span></div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;</div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a8fc0db9f4dfecd376f63c3cb84c764ac">  189</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_SLAVE2(i)                         (REG_SPI_BASE(i)  + 0x38)</span></div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a46910210376f5ab06226f0b8137ed6de">  190</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WRBUF_DUMMY_CYCLELEN 0x000000FF</span></div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae733baeb194943064cb520a8a253f62a">  191</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WRBUF_DUMMY_CYCLELEN_S 24</span></div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ad9cf129147d47a25f6f64097999d0697">  192</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RDBUF_DUMMY_CYCLELEN 0x000000FF</span></div><div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a0042eb521214e482f50654e1012c3e27">  193</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RDBUF_DUMMY_CYCLELEN_S 16</span></div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a3bcdbcf3b9ff0ea72abff415ed8d0ea9">  194</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WRSTA_DUMMY_CYCLELEN 0x000000FF</span></div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a3c79b9ee038567bb58557ae573eeb5ca">  195</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WRSTA_DUMMY_CYCLELEN_S 8</span></div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a1c6bddc0e95f61f33e9937a5a8eb903f">  196</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RDSTA_DUMMY_CYCLELEN 0x000000FF</span></div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="spi__register_8h.html#acb88e082d74930328794d49db95688cf">  197</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RDSTA_DUMMY_CYCLELEN_S 0</span></div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae3f48a58cdc8d3b13d504b1ad87ee0da">  199</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_SLAVE3(i)                         (REG_SPI_BASE(i)  + 0x3C)</span></div><div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="spi__register_8h.html#afd968c04c65bd9b04e9a21fc41601639">  200</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WRSTA_CMD_VALUE 0x000000FF</span></div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="spi__register_8h.html#afef9db56c5a5542dab69c33075a659cb">  201</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WRSTA_CMD_VALUE_S 24</span></div><div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a66ed022a87f8130a745d4e15c11aa34b">  202</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RDSTA_CMD_VALUE 0x000000FF</span></div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a0708713a223aab2c48e8bc6eee505542">  203</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RDSTA_CMD_VALUE_S 16</span></div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a520327f70f411236449f4520fa50feae">  204</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WRBUF_CMD_VALUE 0x000000FF</span></div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a6ff3dd6f5c097b84ee68825602799f8d">  205</a></span>&#160;<span class="preprocessor">#define SPI_SLV_WRBUF_CMD_VALUE_S 8</span></div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a47a6e8844fa7ada68773698009ca39ec">  206</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RDBUF_CMD_VALUE 0x000000FF</span></div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a71e4d9cfb622806b02b711db7615b72f">  207</a></span>&#160;<span class="preprocessor">#define SPI_SLV_RDBUF_CMD_VALUE_S 0</span></div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;</div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a985ecc8150c9d2a866a274959872053f">  209</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_C0(i)                             (REG_SPI_BASE(i) +0x40)</span></div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a16cf4be18726a349c39e93e59053e33e">  210</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_C1(i)                             (REG_SPI_BASE(i) +0x44)</span></div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a967ee70a3dc44e5ba07e24f712b9cc60">  211</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_C2(i)                             (REG_SPI_BASE(i) +0x48)</span></div><div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae2ddd1cd6e700f25f3b5b0936a6758bf">  212</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_C3(i)                             (REG_SPI_BASE(i) +0x4C)</span></div><div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ae2f43261bd45938d044756d8487a1b91">  213</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_C4(i)                             (REG_SPI_BASE(i) +0x50)</span></div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ada711071020fd7110d612f0e218461d7">  214</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_C5(i)                             (REG_SPI_BASE(i) +0x54)</span></div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ad180b5fc2e2830bef44c8d02ca64d969">  215</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_C6(i)                             (REG_SPI_BASE(i) +0x58)</span></div><div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a680e0a5d4b863334c01e237ec3b0271a">  216</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_C7(i)                             (REG_SPI_BASE(i) +0x5C)</span></div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;</div><div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ab7e0ebb526407e923fd207ae7f16893d">  218</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_EXT0(i)                           (REG_SPI_BASE(i)  + 0xF0)</span></div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="spi__register_8h.html#acb6b1abfafbf39b8ae80fa8e97a708d9">  219</a></span>&#160;<span class="preprocessor">#define SPI_T_PP_ENA (BIT(31))</span></div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="spi__register_8h.html#abab1e361db9ce8787f3d578daa14f3ca">  220</a></span>&#160;<span class="preprocessor">#define SPI_T_PP_SHIFT 0x0000000F</span></div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a07ba3328610974f725f36a851df6c428">  221</a></span>&#160;<span class="preprocessor">#define SPI_T_PP_SHIFT_S 16</span></div><div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a55ecf60aaf13196ed539909a20dd866f">  222</a></span>&#160;<span class="preprocessor">#define SPI_T_PP_TIME 0x00000FFF</span></div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a343789ab6992a8808070267a548deaeb">  223</a></span>&#160;<span class="preprocessor">#define SPI_T_PP_TIME_S 0</span></div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a58f3742f6290633044190f71bbba6d67">  225</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_EXT1(i)                          (REG_SPI_BASE(i)  + 0xF4)</span></div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a04d75875a401f3c5a67f3b9e33a62daf">  226</a></span>&#160;<span class="preprocessor">#define SPI_T_ERASE_ENA (BIT(31))</span></div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a61ff5fa0dc4b0d1a45fe6b59c6fed8ab">  227</a></span>&#160;<span class="preprocessor">#define SPI_T_ERASE_SHIFT 0x0000000F</span></div><div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aed91eec36b05a52783c35b5e51fbbb57">  228</a></span>&#160;<span class="preprocessor">#define SPI_T_ERASE_SHIFT_S 16</span></div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a6e99d3474f7bf00efc9328d30d37f79a">  229</a></span>&#160;<span class="preprocessor">#define SPI_T_ERASE_TIME 0x00000FFF</span></div><div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a77127a7e43870354c8a5a6266b84814e">  230</a></span>&#160;<span class="preprocessor">#define SPI_T_ERASE_TIME_S 0</span></div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ad8a2947b9cb1a3a40ed061f872d7b63f">  232</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_EXT2(i)                           (REG_SPI_BASE(i)  + 0xF8)</span></div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="spi__register_8h.html#ab46dfbe9ac33a21e88aa043459f7b356">  233</a></span>&#160;<span class="preprocessor">#define SPI_ST 0x00000007</span></div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a5d9279af8f1d9f4b328a0a696b4d03b6">  234</a></span>&#160;<span class="preprocessor">#define SPI_ST_S 0</span></div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="spi__register_8h.html#aa663a3ce8571e674ebc7141b6f42b8f7">  236</a></span>&#160;<span class="preprocessor">#define SPI_FLASH_EXT3(i)                           (REG_SPI_BASE(i)  + 0xFC)</span></div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="spi__register_8h.html#a80b5822eadd593cb8f76864b84b6fcdb">  237</a></span>&#160;<span class="preprocessor">#define SPI_INT_HOLD_ENA 0x00000003</span></div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="spi__register_8h.html#acf9724713ab5646648f3d3771a0d603f">  238</a></span>&#160;<span class="preprocessor">#define SPI_INT_HOLD_ENA_S 0</span></div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;<span class="preprocessor">#endif // SPI_REGISTER_H_INCLUDED</span></div></div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
